package org.csmz.class2333.abstractdemo;
abstract class Animal{
    abstract void shout();
}
class Dog extends Animal{
    void shout(){
        System.out.println("汪汪汪...");
    }
}
public class Example09 {
    public static void main(String[] args){
        Dog dog = new Dog();
    }
}
